import { cardCache, toast } from 'nc-lightapp-front';
import config from '../config';
const { setDefData } = cardCache;

export default function (props, config, pks) {
    console.log('=====OnTablePageChange:', props, config, pks);
    // let pageInfo = props.table.getTablePageInfo(props.config.gridId);
    // let cachepageInfo = getDefData('pageInfo', this.config.dataSource);
    // //当第一次缓存或者分页信息不等于10的时候，才会更新分页缓存信息
    // (cachepageInfo == undefined || pageInfo.pageSize != 10) ? setDefData('pageInfo', this.config.dataSource, pageInfo) : '';
    this.loadData();
}
